﻿namespace HuwmanCode.IO

open System
open System.IO
open System.Runtime.CompilerServices

[<AutoOpen>]
[<Extension>]
[<RequireQualifiedAccess>]
module Path =
    /// Combines multiple file path portions into one
    [<Extension>]
    let combineMany paths =
        Seq.fold (fun path subPath -> Path.Combine(path, subPath)) String.Empty paths